//本代码文件由代码生成器生成
//时间：2011-03-24 23:46:51

using System;
using System.Collections.Generic;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// PE_Coupon优惠卷规则表模型类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Coupon
    {
        /// <summary>
        /// 优惠券规则ID
        /// </summary>
        public Int32 CouponID
        {
            get;
            set;
        }
        /// <summary>
        /// 优惠券名称
        /// </summary>
        public String CouponName
        {
            get;
            set;
        }
        /// <summary>
        /// 优惠券号码生成格式
        /// </summary>
        public String CouponNumPattern
        {
            get;
            set;
        }
        /// <summary>
        /// 面值
        /// </summary>
        public System.Decimal Money
        {
            get;
            set;
        }
        /// <summary>
        /// 状态
        /// </summary>
        public Int32 State
        {
            get;
            set;
        }
        /// <summary>
        /// 适用会员组
        /// </summary>
        public String UserGroup
        {
            get;
            set;
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public System.DateTime BeginDate
        {
            get;
            set;
        }
        /// <summary>
        /// 截止时间
        /// </summary>
        public System.DateTime EndDate
        {
            get;
            set;
        }
        /// <summary>
        /// 限用商品类型
        /// </summary>
        public Int32 ProductLimitType
        {
            get;
            set;
        }
        /// <summary>
        /// 限用商品
        /// </summary>
        public String ProductLimitContent
        {
            get;
            set;
        }
        /// <summary>
        /// 优惠券生成方式
        /// </summary>
        public Int32 CouponCreateType
        {
            get;
            set;
        }
        /// <summary>
        /// 优惠券生成条件内容
        /// </summary>
        public String CouponCreateContent
        {
            get;
            set;
        }
        /// <summary>
        /// 使用该优惠券需要的订单满足金额
        /// </summary>
        public System.Decimal OrderTotalMoney
        {
            get;
            set;
        }
        /// <summary>
        /// 使用开始时间
        /// </summary>
        public System.DateTime UseBeginDate
        {
            get;
            set;
        }
        /// <summary>
        /// 使用截止时间
        /// </summary>
        public System.DateTime UseEndDate
        {
            get;
            set;
        }
        /// <summary>
        /// 优惠卷张数
        /// </summary>
        public Int32 CouponItemNum
        {
            get;
            set;
        }
        /// <summary>
        /// 通知类型
        /// </summary>
        public Int32 NoticeType
        {
            get;
            set;
        }
    }
}
